<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>审图机构--审查/受理--政策性审查报告</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta http-equiv="Expires" CONTENT="0">
    <meta http-equiv="Cache-Control" content="no-siteapp,no-transform,no-store, no-cache, must-revalidate">
    <meta http-equiv="Pragma" content="no-cache">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/static/css/font.css">
    <link rel="stylesheet" href="/static/css/weadmin.css">
    <script type="text/javascript" src="/lib/layui/layui.js" charset="utf-8"></script>
    <link rel="stylesheet" href="/static/css/buildUnit/common.css">
    <!--<script type="text/javascript" src="/templates/act/process-xl.js"></script>-->
    <style>
        body{
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
            padding: 0px 100px;
        }
        .tdwidth1{
            height: 55px;
            text-align: center;
        }
        .tdwidth{
            width: 90px;
            height: 55px;
        }
        .center{
            text-align: center;
        }
    </style>
</head>
<body>
<form id="form" class="layui-form layui-form-pane" action="" lay-filter="example">
    <p style="font-size:20px;line-height:70px;font-weight: bold;text-align: center;">政策性审查报告</p>
    <table class="layui-table">
        <colgroup>
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <tbody>
        <tr>
            <td class="tdwidth1">设计单位<br>资质等级</td>
            <td id="sjCorpQualificationLevel"></td>
            <td>企业法人</td>
            <td id="sjComartiperson"></td>
            <td>项目负责人</td>
            <td class="tdwidth" id="sjProjectLeaderName"></td>
        </tr>
        <tr>
            <td class="tdwidth1">勘察单位<br>资质等级</td>
            <td id="kcCorpQualificationLevel"></td>
            <td>企业法人</td>
            <td id="kcComartiperson"></td>
            <td>项目负责人</td>
            <td id="kcProjectLeaderName"></td>
        </tr>
        <tr>
            <td class="center">序号</td>
            <td colspan="4">审查内容</td>
            <td>结论</td>
        </tr>
        <tr>
            <td class="center">1</td>
            <td colspan="4">承担工程是否符合勘察设计资质证书范围</td>
            <td>
                <select name="designQualiScope" id="designQualiScope" lay-verify="isEmpty" class="formData">
                    <option value="">请选择</option>
                </select>
            </td>
        </tr>
        <tr>
            <td class="center">2</td>
            <td colspan="4">执业注册人员是否按规定签字并加盖章职业印章</td>
            <td>
                <select name="sealAsRequired" id="sealAsRequired" lay-verify="isEmpty" class="formData">
                    <option value="">请选择</option>
                </select>
            </td>
        </tr>
        <tr>
            <td class="center">3</td>
            <td colspan="4">是否符合规划要求</td>
            <td>
                <select name="planRequire" id="planRequire" lay-verify="isEmpty" class="formData">
                    <option value="">请选择</option>
                </select>
            </td>
        </tr>
        <tr>
            <td class="center">4</td>
            <td colspan="4">勘察设计文件的有效签署是否符合规定:<br>是否加盖出图专用章</td>
            <td>
                <select name="signForCompliance" id="signForCompliance" lay-verify="isEmpty" class="formData">
                    <option value="">请选择</option>
                </select>
            </td>
        </tr>
        <tr>
            <td class="center">5</td>
            <td colspan="4">外埠企业是否办理进桂工作手续</td>
            <td>
                <select name="proceduresForEnterHebei" id="proceduresForEnterHebei" lay-verify="isEmpty" class="formData">
                    <option value="">请选择</option>
                </select>
            </td>
        </tr>
        <tr>
            <td class="center">6</td>
            <td colspan="4">其他需审查内容</td>
            <td>
                <select name="other" id="other" class="formData" lay-verify="isEmpty">
                    <option value="">请选择</option>
                </select>
            </td>
        </tr>
        <tr>
            <td style="height: 190px;text-align: right; ">审<br>查<br>结<br>论</td>
            <td colspan="5">
                <div style="width: 90px;">
                    <select name="checkResult" id="checkResult" class="formData" lay-verify="isEmpty">
                        <option value="">请选择</option>
                    </select>
                </div>
                <div style="position: absolute;left: 60%;">
                    <span>审查人:</span><input type="text" id="checkUser" name="checkUser"  lay-verify="isEmpty" autocomplete="off" class="layui-input formData" style="width: 110px;height:35px;display: inline-block;"><br>
                    <span></span><span id="checkTimePam" name="checkTimePam"></span>
                </div>
            </td>
        </tr>
        </tbody>
    </table>
    <button lay-submit lay-filter="submit" style="display: none;" id="submit" class="demo1">提交</button>
</form>

<script src="/static/js/main.js"></script>
<script type="text/javascript">
    var $;
    var configureCom = {};
    layui.use(['jquery', 'element', 'form', 'laydate', 'configure', 'table','configureCom', 'selectFun', 'bluebird', 'replaceStr', 'jsDictFile', 'mapExtend'], function () {
        var element = layui.element;
        var form = layui.form;
        $ = layui.jquery;
        var configure = layui.configure;
        configureCom = layui.configureCom;
        var laydate = layui.laydate;
        var table = layui.table;
        var selectFun = layui.selectFun;
        var sessionFun = layui.sessionFun;//存储session
        var listData = sessionFun.get(configure.SESSION_PROJECT_WAIT_LIST_DATA);
        //政策性审查信息
        configureCom.postDataAjax(configure.EXAMINE_SHOW_POLICY_REPORT_HTTP,{decId:listData.decId}).then(function (res) {
            var data = res.prjPolicyReport;
            $.each(data, function (index , value) {
                $('#'+index).html(value);
            });
            if(data.checkResult){//生成过
                configureCom.selectDataFun(configure.ZCXSCNRJL, data.designQualiScope, '#designQualiScope'); //政策性审查内容结论1
                configureCom.selectDataFun(configure.ZCXSCNRJL, data.sealAsRequired, '#sealAsRequired'); //政策性审查内容结论2
                configureCom.selectDataFun(configure.ZCXSCNRJL, data.planRequire, '#planRequire'); //政策性审查内容结论3
                configureCom.selectDataFun(configure.ZCXSCNRJL, data.signForCompliance, '#signForCompliance'); //政策性审查内容结论4
                configureCom.selectDataFun(configure.ZCXSCNRJL, data.proceduresForEnterHebei, '#proceduresForEnterHebei'); //政策性审查内容结论5
                configureCom.selectDataFun(configure.ZCXSCNRJL, data.other, '#other'); //政策性审查内容结论6
                configureCom.selectDataFun(configure.ZCXSCSCJL, data.checkResult, '#checkResult'); //政策性审查审查结论
                $('#checkUser').val(data.checkUser)
            }else{//为生成
                configureCom.selectDataFun(configure.ZCXSCNRJL, '', '#designQualiScope'); //政策性审查内容结论1
                configureCom.selectDataFun(configure.ZCXSCNRJL, '', '#sealAsRequired'); //政策性审查内容结论2
                configureCom.selectDataFun(configure.ZCXSCNRJL, '', '#planRequire'); //政策性审查内容结论3
                configureCom.selectDataFun(configure.ZCXSCNRJL, '', '#signForCompliance'); //政策性审查内容结论4
                configureCom.selectDataFun(configure.ZCXSCNRJL, '', '#proceduresForEnterHebei'); //政策性审查内容结论5
                configureCom.selectDataFun(configure.ZCXSCNRJL, '', '#other'); //政策性审查内容结论6
                configureCom.selectDataFun(configure.ZCXSCSCJL, '', '#checkResult'); //政策性审查审查结论
            }
        });

        form.on('submit(submit)', function (data) {
            return false;
        });
    });
    function getData() {
        return new Promise(function (res, rej) {
            var data = {};
            if (!window.formVerifyFun()) {
                return false;
            }
            $('.formData').each(function (index, item) {
                var key = $(item).attr('name');
                data[key] = $(item).val();
            });
            res({result: data});
        });
    }

</script>
</body>
</html>